using System.Linq.Expressions;
using System;
namespace Polymod
{
    public interface ITemplateBuilderLanguage<T>
    {
        Formula<T, R> CreateFormula<R>(string name, Expression<Func<T, R>> expression);
        void WhenChanged(string name, Action<IModel<T>> action);
        void CreateProperty<R>(string name);
    }
}
